# main.py
import sys

from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import QApplication

from MainApp import MainApp

if __name__ == "__main__":
    app = QApplication(sys.argv)
    # 设置全局字体
    font = QFont()
    font.setPointSize(16)
    app.setFont(font)
    window = MainApp()
    window.show()
    sys.exit(app.exec_())